package ooday03.T2;

public abstract class Employee {
    String name;
    int age;
    double salary;

    public Employee() {
    }

    public Employee(String name, int age, double salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    public void clock_on() {
        System.out.println(name+"上班打卡成功！");
    }

    public void clock_out() {
        System.out.println(name+"下班打卡成功！");
    }

    public abstract void finish_work();
}
